package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 常用观演人信息关联关系对象 yanchu_moviegoer
 * 
 * @author ruoyi
 * @date 2023-10-20
 */
public class YanchuMoviegoer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 常用观演人编号（主键） */
    private Long id;

    /** 购票下单用户编码(关联yanchu_user_info表主键) */
    @Excel(name = "购票下单用户编码(关联yanchu_user_info表主键)")
    private Long userinfoId;

    /** 观演用户编码(关联yanchu_user_info表主键) */
    @Excel(name = "观演用户编码(关联yanchu_user_info表主键)")
    private Long moviegoerUserinfoId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserinfoId(Long userinfoId) 
    {
        this.userinfoId = userinfoId;
    }

    public Long getUserinfoId() 
    {
        return userinfoId;
    }
    public void setMoviegoerUserinfoId(Long moviegoerUserinfoId) 
    {
        this.moviegoerUserinfoId = moviegoerUserinfoId;
    }

    public Long getMoviegoerUserinfoId() 
    {
        return moviegoerUserinfoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userinfoId", getUserinfoId())
            .append("moviegoerUserinfoId", getMoviegoerUserinfoId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
